import { request } from "@/utils";

const API={
    GET_TOKEN:"/authorizations",
    virtual_GET_TOKEN:"http://localhost:3000/token",
}

export  const toGetToken =(data)=>{
    return request.get(API.virtual_GET_TOKEN)
 }

 export  const toPostToken =(data)=>{
    return request.post(API.GET_TOKEN,data)
 }